package com.zp95sky.demo.aidemo;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.zp95sky.demo.aidemo.mapper")
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}

//	@Bean
//	public CommandLineRunner runner(ChatClient.Builder builder) {
//		return args -> {
//			UserMessage userMessage = new UserMessage("Please write quick sort code");
//			Message assistantMessage = DeepSeekAssistantMessage.prefixAssistantMessage("```python\\n");
//			Prompt prompt = new Prompt(List.of(userMessage, assistantMessage), ChatOptions.builder().stopSequences(List.of("\n```\n")).build());
//			ChatResponse response = chatModel.call(prompt);
//			System.out.println(response.getResult().getOutput().getText());
//		};
//	}

}
